
package com.efivestar.idm.api.util.tianyi;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>anonymous complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="Account" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="LoginSession" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="DevID" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="ChannelNo" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="StoreType" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="DayPolicy" maxOccurs="unbounded"&gt;
 *           &lt;complexType&gt;
 *             &lt;complexContent&gt;
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *                 &lt;sequence&gt;
 *                   &lt;element name="Interval" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *                   &lt;element name="StartTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *                   &lt;element name="EndTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *                 &lt;/sequence&gt;
 *               &lt;/restriction&gt;
 *             &lt;/complexContent&gt;
 *           &lt;/complexType&gt;
 *         &lt;/element&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "account",
    "loginSession",
    "devID",
    "channelNo",
    "storeType",
    "dayPolicy"
})
@XmlRootElement(name = "addPicPolicyReq")
public class AddPicPolicyReq {

    @XmlElement(name = "Account", required = true)
    protected String account;
    @XmlElement(name = "LoginSession", required = true)
    protected String loginSession;
    @XmlElement(name = "DevID", required = true)
    protected String devID;
    @XmlElement(name = "ChannelNo", required = true)
    protected String channelNo;
    @XmlElement(name = "StoreType", required = true)
    protected String storeType;
    @XmlElement(name = "DayPolicy", required = true)
    protected List<AddPicPolicyReq.DayPolicy> dayPolicy;

    /**
     * 获取account属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getAccount() {
        return account;
    }

    /**
     * 设置account属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setAccount(String value) {
        this.account = value;
    }

    /**
     * 获取loginSession属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getLoginSession() {
        return loginSession;
    }

    /**
     * 设置loginSession属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setLoginSession(String value) {
        this.loginSession = value;
    }

    /**
     * 获取devID属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDevID() {
        return devID;
    }

    /**
     * 设置devID属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDevID(String value) {
        this.devID = value;
    }

    /**
     * 获取channelNo属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getChannelNo() {
        return channelNo;
    }

    /**
     * 设置channelNo属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setChannelNo(String value) {
        this.channelNo = value;
    }

    /**
     * 获取storeType属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getStoreType() {
        return storeType;
    }

    /**
     * 设置storeType属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setStoreType(String value) {
        this.storeType = value;
    }

    /**
     * Gets the value of the dayPolicy property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the dayPolicy property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getDayPolicy().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link AddPicPolicyReq.DayPolicy }
     * 
     * 
     */
    public List<AddPicPolicyReq.DayPolicy> getDayPolicy() {
        if (dayPolicy == null) {
            dayPolicy = new ArrayList<AddPicPolicyReq.DayPolicy>();
        }
        return this.dayPolicy;
    }


    /**
     * <p>anonymous complex type的 Java 类。
     * 
     * <p>以下模式片段指定包含在此类中的预期内容。
     * 
     * <pre>
     * &lt;complexType&gt;
     *   &lt;complexContent&gt;
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
     *       &lt;sequence&gt;
     *         &lt;element name="Interval" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
     *         &lt;element name="StartTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
     *         &lt;element name="EndTime" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
     *       &lt;/sequence&gt;
     *     &lt;/restriction&gt;
     *   &lt;/complexContent&gt;
     * &lt;/complexType&gt;
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "interval",
        "startTime",
        "endTime"
    })
    public static class DayPolicy {

        @XmlElement(name = "Interval")
        protected String interval;
        @XmlElement(name = "StartTime")
        protected String startTime;
        @XmlElement(name = "EndTime")
        protected String endTime;

        /**
         * 获取interval属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getInterval() {
            return interval;
        }

        /**
         * 设置interval属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setInterval(String value) {
            this.interval = value;
        }

        /**
         * 获取startTime属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getStartTime() {
            return startTime;
        }

        /**
         * 设置startTime属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setStartTime(String value) {
            this.startTime = value;
        }

        /**
         * 获取endTime属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getEndTime() {
            return endTime;
        }

        /**
         * 设置endTime属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setEndTime(String value) {
            this.endTime = value;
        }

    }

}
